<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>替换元素</title>
    <script src="../../js/jquery-1.4.2.js"></script>
</head>
<body>
    <button id="b1">新建元素</button>
</body>
    <script>
        $(function (){
            //替换

        })
    </script>
</html>